﻿<cfsilent>
	<cfscript>

		menuArgs = structNew();
		
		structInsert(menuArgs, "SubID", event.getArg("SubID"), true);
		structInsert(menuArgs, "Edition", event.getArg("Edition"), true);
		structInsert(menuArgs, "Schema", event.getArg("Schema"), true);
	
		classStep01 = "";
		classStep02 = "";
		classStep03 = "";
		classStep04 = "";
		classStep05 = "lastStep";
	
		
		if ( event.getRequestName() eq "programSchemaWizard" ) {
			classStep01 = listAppend(classStep01, "current", " ");
		}

		if ( event.getRequestName() eq "programSchemaWizardCourseByTerm" or event.getRequestName() eq "programSchemaWizardModifyEntity" or event.getRequestName() eq "programSchemaWizardCreateEntity" ) {
			classStep01 = listAppend(classStep01, "lastDone", " ");
			classStep02 = listAppend(classStep02, "current", " ");
		}

		if ( event.getRequestName() eq "programSchemaWizardDirection" or event.getRequestName() eq "programSchemaWizardModifyDirectionEntity" or event.getRequestName() eq "programSchemaWizardCreateDirectionEntity" ) {
			classStep01 = listAppend(classStep01, "done", " ");
			classStep02 = listAppend(classStep02, "lastDone", " ");
			classStep03 = listAppend(classStep03, "current", " ");
		}
		
		if ( event.getRequestName() eq "programSchemaWizardCondition" or event.getRequestName() eq "programSchemaWizardCreateDegreeEntity" or event.getRequestName() eq "programSchemaWizardCreateSecDegreeEntity" or event.getRequestName() eq "programSchemaWizardCreateAssistDegreeEntity" ) {
			classStep01 = listAppend(classStep01, "done", " ");
			classStep02 = listAppend(classStep02, "done", " ");
			classStep03 = listAppend(classStep03, "lastDone", " ");
			classStep04 = listAppend(classStep04, "current", " ");
		}
		
		if ( event.getRequestName() eq "programSchemaWizardStuff" ) {
			classStep01 = listAppend(classStep01, "done", " ");
			classStep02 = listAppend(classStep02, "done", " ");
			classStep03 = listAppend(classStep03, "done", " ");
			classStep04 = listAppend(classStep04, "lastDone", " ");
			classStep05 = listAppend(classStep05, "current", " ");
		}

	</cfscript>
</cfsilent>

<div class="UIWizard clearfix">
	<ul class="fiveStep stepNavigation">
		<li class="<cfoutput>#classStep01#</cfoutput>"><a href="<cfoutput>#buildURL('programSchemaWizard', menuArgs)#</cfoutput>"><em>方案概况</em><span>专业培养方案数据纵览</span></a></li>
		<li class="<cfoutput>#classStep02#</cfoutput>"><a href="<cfoutput>#buildURL('programSchemaWizardCourseByTerm', menuArgs)#</cfoutput>"><em>课程分布</em><span>学期课程开设情况</span></a></li>
		<li class="<cfoutput>#classStep03#</cfoutput>"><a href="<cfoutput>#buildURL('programSchemaWizardDirection', menuArgs)#</cfoutput>"><em>方向课</em><span>专业方向课程设置</span></a></li>
		<li class="<cfoutput>#classStep04#</cfoutput>"><a href="<cfoutput>#buildURL('programSchemaWizardCondition', menuArgs)#</cfoutput>"><em>毕业及学位</em><span>毕业和授位学分要求</span></a></li>
		<li class="<cfoutput>#classStep05#</cfoutput>"><a href="<cfoutput>#buildURL('programSchemaWizardStuff', menuArgs)#</cfoutput>"><em>辅助信息</em><span>专业学习进度及学费</span></a></li>
	</ul>
</div>
